﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/DefaultERPMaster.Master" AutoEventWireup="true" CodeBehind="006-Vagas-Detalhes.aspx.cs" Inherits="Guarouba.Pages._006_Vagas_Detalhes" %>

<asp:Content ID="Content1" ContentPlaceHolderID="phHeader" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="phContent" runat="server">
    <legend>Detalhes da Vaga</legend>

    <div style="text-align:right; padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid #ECECEC;">
        <a href="005-Vagas.aspx" class="btn btn-primary">Voltar</a>
        <a href="#modalSuspender" role="button" class="btn btn-primary" data-toggle="modal" id="btnSuspender" runat="server" visible="false">Suspender Vaga</a>
        <a href="#modalFinalizar" role="button" class="btn btn-primary" data-toggle="modal" id="btnFinalizar" runat="server" visible="false">Finalizar Vaga</a>
        <a href="#modalCancelar" role="button" class="btn btn-primary" data-toggle="modal" id="btnCancelar" runat="server" visible="false">Cancelar Vaga</a>
        <a href="#modalExcluir" role="button" class="btn btn-danger" data-toggle="modal" id="btnExcluir" runat="server" visible="false">Excluir</a>
        <asp:Button ID="btSalvar" runat="server" Text="Salvar" class="btn btn-success" OnClick="btSalvar_Click" />           
    </div>

    <%--Modal Excluir Vaga--%>
    <div id="modalExcluir" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="H3">Excluir Vaga</h3>
        </div>

        <div class="modal-body">
            <div style="border:1px solid #CCC; padding:20px;">                   
                <p>Tem certeza que deseja excluir a vaga?</p>
            </div>            
        </div>

        <div class="modal-footer">
            <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Cancelar</button>
            <asp:Button ID="btExcluir" runat="server" Text="Excluir" class="btn btn-danger" OnClick="btExcluir_Click"/>
        </div>
    </div>
    <%--Fim do Modal Excluir Vaga--%>

    <%--Modal Suspender Vaga--%>
    <div id="modalSuspender" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="myModalLabel">Suspender Vaga</h3>
        </div>

        <div class="modal-body">
            <div style="border:1px solid #CCC; padding:20px;">   
                <label>Informe o motivo da suspensão *</label>        
                <asp:TextBox CssClass="input-block-level" ID="txtSuspensao" runat="server" TextMode="MultiLine" Height="140px"></asp:TextBox>
            </div>            
        </div>

        <div class="modal-footer">
            <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Cancelar</button>
            <asp:Button ID="btSuspender" runat="server" Text="Suspender" class="btn btn-primary" OnClick="btSuspender_Click" />
        </div>
    </div>
    <%--Fim do Modal Suspender Vaga--%>

    <%--Modal Finalizar Vaga--%>
    <div id="modalFinalizar" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="H1">Finalizar Vaga</h3>
        </div>

        <div class="modal-body">
            <div style="border:1px solid #CCC; padding:20px;">   
                <label>Você deseja informar algum feedback para esta vaga?</label>        
                <asp:TextBox CssClass="input-block-level" ID="txtFeedBack" runat="server" TextMode="MultiLine" Height="140px"></asp:TextBox>
            </div>            
        </div>

        <div class="modal-footer">
            <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Cancelar</button>
            <asp:Button ID="btFinalizar" runat="server" Text="Finalizar" class="btn btn-primary" OnClick="btFinalizar_Click" />
        </div>
    </div>
    <%--Fim do Modal Finalizar Vaga--%>

    <%--Modal Cancelar Vaga--%>
    <div id="modalCancelar" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="H2">Cancelar Vaga</h3>
        </div>

        <div class="modal-body">
            <div style="border:1px solid #CCC; padding:20px;">   
                <label>Informe o motivo do cancelamento da vaga *</label>        
                <asp:TextBox CssClass="input-block-level" ID="txtMotivoCancelamento" runat="server" TextMode="MultiLine" Height="140px"></asp:TextBox>
            </div>            
        </div>

        <div class="modal-footer">
            <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Cancelar</button>
            <asp:Button ID="btCancelar" runat="server" Text="Finalizar" class="btn btn-primary" OnClick="btCancelar_Click" />
        </div>
    </div>
    <%--Fim do Modal Finalizar Vaga--%>

    <%--Linha 1--%>
    <div class="row">
        <div class="span1">
            <label>Código</label>        
            <asp:TextBox ID="txtCod" runat="server" class="input-xlarge disabledInput" Width="60px" Enabled="false"></asp:TextBox>
        </div>
      
        <div class="span2">
            <label>Data do Cadastro</label>        
            <asp:TextBox ID="txtDtCadastro" runat="server" class="input-xlarge disabledInput" Width="140px" Enabled="false"></asp:TextBox>
        </div>

        <div class="span4">
            <label>Título da Vaga *</label>    
            <asp:TextBox ID="txtTituloVaga" runat="server" Width="300px" MaxLength="50"></asp:TextBox>
        </div>

        <div class="span2">
            <label>N. Vagas *</label>        
            <asp:TextBox ID="txtNumeroVagas" runat="server" Width="140px" MaxLength="50"></asp:TextBox>
        </div>
    </div>

    <%--Linha 2--%>
    <div class="row">
        <div class="span3">
            <label>Cidade *</label>        
            <asp:TextBox ID="txtCidade" runat="server" Width="220px" MaxLength="100"></asp:TextBox>
        </div>

        <div class="span1">
            <label>Estado *</label>        
            <asp:TextBox ID="txtEstado" runat="server" Width="60px" MaxLength="16"></asp:TextBox>
        </div>

        <div class="span3" style="width:150px!important;">
            <label>Pais *</label>        
            <asp:TextBox ID="txtPais" runat="server" Width="150px" MaxLength="16"></asp:TextBox>
        </div>

        <div class="span3">
            <label>Formação Acadêmica *</label>        
            <asp:DropDownList ID="ddlFormacao" runat="server" Width="220px">
            </asp:DropDownList>    
                    
        </div>
    </div>

    <%--Linha 2--%>
    <div class="row">
        <div class="span6">
            <label>Descrição *</label>        
            <asp:TextBox ID="txtDescricao" runat="server" Width="700px" Height="140px" TextMode="MultiLine"></asp:TextBox>
        </div>
    </div>

    
    <%--Estatisticas da Vaga--%>
    <div>
        <span class="label label-success">Visualizações: 1231</span>
        <span class="label label-success">Candidatos: 12</span>
        <span class="label label-success">Indicações: 44</span>
    </div>

</asp:Content>
